package com.imooc.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;


@Controller
@RequestMapping("/view")
public class BaseViewController {

//    console文件夹/对应页面：控制台

    @GetMapping("/console/console1.html")
    public String navigateConsole1() {
        return "view/console/console1";
    }

    @GetMapping("/console/console2.html")
    public String navigateConsole2() {
        return "view/console/console2";
    }

    //system文件夹/对应页面：系统管理
    @GetMapping("/system/user.html")
    public String navigateSystem1() {
        return "view/system/user";
    }
//
//    @GetMapping("/system/hr.html")
//    public String navigateSystem2_1() {
//        return "view/system/hr";
//    }
//    @GetMapping("/system/role.html")
//    public String navigateSystem2() { return "view/system/role"; }
//
//    @GetMapping("/system/power.html")
//    public String navigateSystem3() {
//        return "view/system/power";
//    }
//
//    @GetMapping("/system/deptment.html")
//    public String navigateSystem4() {
//        return "view/system/deptment";
//    }
//
//    @GetMapping("/system/logging.html")
//    public String navigateSystem5() {
//        return "view/system/logging";
//    }
//
//    @GetMapping("/system/dict.html")
//    public String navigateSystem6() {
//        return "view/system/dict";
//    }
//
////    @GetMapping("/system/logging_service.html")
////    public ModelAndView logging() {
////        return new ModelAndView("view/system/logging_service","port",8099);
////    }
//

}
